<?php
	// Inclure la librairie smarty
	require_once('libs/Smarty.class.php');
	
	$une_chaine = "Chaine de caracteres smarty";
    $un_entier = 69;

	// Instancier notre objet smarty
	$oSmarty = new Smarty();
	
	$oSmarty->assign('smarty_une_chaine', $une_chaine);
	$oSmarty->assign('smarty_un_entier', $un_entier);
	
	// Provoque le rendu du template
	$oSmarty->display('test.tpl');
?>	